package com.ztgf.order.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * author: chenyu.wang
 * date: 2020-08-01 17:55
 * Description:
 */
@Data
public class OrderShopSalesToDayVO implements Serializable {

    @ApiModelProperty(value = "订单量")
    private Integer orderVolume;
    @ApiModelProperty(value = "销售额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal sales;
    @ApiModelProperty(value = "订单量同比昨日")
    private String orderToYesterday;
    @ApiModelProperty(value = "销售额同比昨日")
    private String salesToYesterday;
}
